package cn.ssm.pojo;

/**
 * 订单兑换码类
 * @author 黄少涛
 *
 */
public class OrderCode {
	
	private  int id;  //编号
	private  int orderId; //订单Id
	private  String code;  //兑换码
	
	public OrderCode() {
		
	}
	
	public OrderCode(int id, int orderId, String code) {
		super();
		this.id = id;
		this.orderId = orderId;
		this.code = code;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Override
	public String toString() {
		return "OrderCode [id=" + id + ", orderId=" + orderId + ", code=" + code + "]";
	}
	
	
	
	 

}
